Skip to content

[GET] driverHistory

/api/driverHistory

DriverHistoryRequestDTO

Attributes:

Name Type Description
email str

email address of the driver

end str

end datetime in the format of "%Y-%m-%d %H:%M:%S"

num_transactions Optional[str]

number of transactions to retrieve

start Optional[str]

start datetime in the format of "%Y-%m-%d %H:%M:%S"

DriverHistoryResponseDTO

Attributes:

Name Type Description
driver_history List[DriverHistoryDTO]

list of DriverHistoryDTO

total TotalDTO

TotalDTO

DriverHistoryDTO

Attributes:

Name Type Description
ref_num str

transaction_id

charger str

charger name

connector str

connector type

start_time str

datetime of transaction start in YYYY-MM-DD HH:MM:SS format

site_id str

site id

duration str

duration of transaction in DD:HH:MM:SS format

kwh float

kwh consumed

cost float

cost of the charging session

TotalDTO

Attributes:

Name Type Description
kwh float

total kwh consumed

duration str

total duration of transactions in DD:HH:MM:SS format